package com.kayt.cyberBar.cpublic.business.dao;

import java.sql.SQLException;
import java.util.LinkedHashMap;

import com.kayt.cyberBar.common.PageData;
import com.kayt.cyberBar.cpublic.business.entity.po.CPublicStore;

public interface IPublicStoreDao {
	CPublicStore findById(String storeId);
	
	Integer delete(String storeId);
	
	Long save(CPublicStore entity) throws SQLException;
	
	void modify(CPublicStore entity) throws SQLException;
	
	PageData<CPublicStore> findByPage(String hql, Object[] params, LinkedHashMap<String, String> orderMap) throws SQLException;

	public PageData<CPublicStore> getStoreList(LinkedHashMap<String, String> orderMap) throws SQLException;
	
	CPublicStore findByCode(String code) throws SQLException;
}
